import '@/static/js/pc.js'   //适配PC
import Vue from 'vue'
import App from './App'
import tui from './common/tui.js' // 普通的快速工具类
import cacheHelper from './common/cacheHelper.js' // 缓存工具类
import api from './common/api/api.js' //api 接口
import constant from './constant/constant.js' // 常量
import utils from './utils/util.js'
import ElementUI from 'element-ui'   //elementui
import 'element-ui/lib/theme-chalk/index.css'  //elementui.css
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue" //下拉组件
Vue.component('mescroll-body', MescrollBody)  //下拉组件

// utils.triggerWindowResizeEvent()

Vue.config.productionTip = false
import uView from 'uview-ui';
Vue.use(uView);
Vue.use(ElementUI)
Vue.prototype.tui = tui
Vue.prototype.api = api
Vue.prototype.utils = utils
Vue.prototype.cacheHelper = cacheHelper
Vue.prototype.constant = constant
App.mpType = 'app'

const app = new Vue({
    ...App,
})
app.$mount()
